﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;

namespace SimpleLibrary.Components
{
    class BookComboItem : ComboBoxItem
    {
         public BookComboItem()
        {
            Padding = new Thickness(0, 3, 0, 3);
            Height = 35;
            HorizontalContentAlignment = HorizontalAlignment.Center;
            VerticalContentAlignment = VerticalAlignment.Center;
            Margin = new Thickness(1,2,1,2);
        }

        public String ID;
         private String _name;
         public String BookName
         {
             get { return _name; }
             set
             {
                 _name = value;
                 Content = _name;
             }
         }
         public string Authour { get; set; }

         public string Publisher { get; set; }

         public string Year { get; set; }
    }
}
